home *** CD-ROM | disk | FTP | other *** search
-
- node lib code
- =============
-
- N_ND
-
-
- serial/io
- console/io
-
-
- door startup
- ============
-
- node 1 wants to run a door,
-
- node 1 has it's own library (one for each node, only the global variables are not
- shared, all the code is)
-
- node 1 SPAWNS a door with the first parameter being the node number, is this case 1
- (must be spawn as the node has to keep watching it's windows etc..)
-
- door starts
-
- door opens hbbscommon library and asks for bbsglobal
-
- door opens node library
-
- call InitNodeLibrary(BBSGlobal,NodeNum) for instance...
-
- then for serial/console/window IO the node just carries on as normal,
-
- door now in control..
-
- do door stuff
-
- door has finsihed so we need to tell the node, so send a message to the
- node's message port saying the door has finished.
-
- control returns to node again..
-